package tedu.api.binary;

public class Demo04 {
    public static void main(String[] args) {
        int intMax = Integer.MAX_VALUE;
        int intMin = Integer.MIN_VALUE;
        System.out.println(Integer.toBinaryString(intMax));
        System.out.println(Integer.toBinaryString(intMin));

        long longMax = Long.MAX_VALUE;
        long longMin = Long.MIN_VALUE;
        System.out.println(Long.toBinaryString(longMax));
        System.out.println(Long.toBinaryString(longMin));

        int n = 128;
        System.out.println(Integer.toBinaryString(n));

    }
}
